package com.zmj.sy.mom.srv.aps.bean.bo;


import com.zmj.sy.mom.srv.aps.bean.entity.order.ApsBatch;
import com.zmj.sy.mom.srv.aps.bean.entity.order.ApsOrder;
import com.zmj.sy.mom.srv.aps.bean.entity.order.Order;
import com.zmj.sy.mom.srv.aps.bean.entity.resource.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class CacheFactory {
    @ApiModelProperty("排产规则")
    private Integer schedulingRule;

    private List<ApsBatch> allBatch = new ArrayList<>();

    private List<Order> allOrder = new ArrayList<>();

    private List<ApsOrder> allApsOrder = new ArrayList<>();

    private String factoryCode;

    private List<Customer> customers = new ArrayList<>();

    private List<Group> groups = new ArrayList<>();

//    private List<StationGroup> stationGroups = new ArrayList<>();

    private List<Station> stations = new ArrayList<>();

    private Map<String, List<Station>> masterStationMap = new HashMap<>();

    private List<StationWeekdayScheme> stationWeekdaySchemes = new ArrayList<>();

    private List<StationWeekdayRule> stationWeekdayRules = new ArrayList<>();

    private List<ShiftType> shiftTypes = new ArrayList<>();

    private List<Shift> shifts = new ArrayList<>();

    private List<BreakPeriod> breakPeriods = new ArrayList<>();

}
